nnimap.el (nnimap-request-set-mark): Add is "+", not "-".
authorLars Magne Ingebrigtsen <larsi@gnus.org>
Fri, 26 Nov 2010 02:17:55 +0000 (02:17 +0000)
committerKatsumi Yamaoka <yamaoka@jpl.org>
Fri, 26 Nov 2010 02:17:55 +0000 (02:17 +0000)
lisp/gnus/ChangeLog
lisp/gnus/nnimap.el

index 63147f39cf8a2a4273230c81f970631be4491a68..471fa8e9f811845bea6f6758ea0d3a90cf749e60 100644 (file)
@@ -1,5 +1,7 @@
 2010-11-26  Lars Magne Ingebrigtsen  <larsi@gnus.org>
 
+       * nnimap.el (nnimap-request-set-mark): Add is "+", not "-".
+
        * gnus-sum.el (gnus-summary-push-marks-to-backend): Use 'set instead of
        'add and 'delete to set backend marks.
 
index 0a0b413d3d25c25df6878ee4f9bd87af6b1b4c0b..307deba8afde24a55857117574307912eaba4115 100644 (file)
@@ -928,6 +928,7 @@ textual parts.")
     flags))
 
 (deffoo nnimap-request-set-mark (group actions &optional server)
+  (debug)
   (when (nnimap-possibly-change-group group server)
     (let (sequence)
       (with-current-buffer (nnimap-buffer)
@@ -943,7 +944,7 @@ textual parts.")
                                (nnimap-article-ranges range)
                                (cond
                                 ((eq action 'del) "-")
-                                ((eq action 'add) "-")
+                                ((eq action 'add) "+")
                                 ((eq action 'set) ""))
                                (mapconcat #'identity flags " ")))))))
        ;; Wait for the last command to complete to avoid later